package item.inkcloud.distributionservice.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface ChangeUserCountMapper {



    @Update("update ProvinceInfo set usercount=usercount+1 where province =#{province}")
    public void addCount(String province);

    @Update("update ProvinceInfo set usercount=usercount-1 where province =#{province}")
    public void reduceCount(String province);

}
